package com.config;

/**
 * @ClassName: AreaConfig
 * @Description:
 * @Version: v1.0.0
 * @Author: Fu Hao
 * @Date: 2021/6/26 0026 上午 11:03
 * Modification History:
 * Date           Author      Version     Description
 * -------------------------------------------------------------
 * 2021/6/26 0026        Fu Hao      v1.0.0         创建
 */
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 获取yml配置文件信息
 * </p>
 *
 * @ClassName AreaConfig
 * @Date 2020/12/2 13:37
 * @Author hzy
 */
@Data
@Component
@ConfigurationProperties(prefix = "area")
public class AreaConfig {
    /**
     * 请求地址
     */
    private String url;

    /**
     * APIkey
     */
    private String key;
}
